package com.saturn.titan.core.repository.mybatis;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.saturn.titan.core.bean.BusiRepairBill;
import com.saturn.titan.core.dto.RepairBillDto;
import com.saturn.titan.core.repository.mybatis.annotations.GenerateDao;
import com.saturn.titan.core.repository.mybatis.annotations.MyBatisRepository;
import com.saturn.titan.core.repository.mybatis.base.BaseDao;

/**
 * 通过@MapperScannerConfigurer扫描目录中的所有接口, 动态在Spring Context中生成实现.
 * 方法名称必须与Mapper.xml中保持一致.
 * 
 * @author lwh
 */
@MyBatisRepository
@GenerateDao(beanType = BusiRepairBill.class)
public interface BusiRepairBillDao extends BaseDao<BusiRepairBill>{
	public List<RepairBillDto> getBusiRepairBillByCondition(
			@Param(value="billNo")String billNo,
			@Param(value="workBillId")Integer workBillId,
			@Param(value="deployBillId")Integer deployBillId,
			@Param(value="billStt")String billStt,
			@Param(value="emergentType")String emergentType,
			@Param(value="empName")String empName,
			@Param(value="startDate_begin")String startDate_begin,
			@Param(value="startDate_end")String startDate_end,
			@Param(value="endDate_begin")String endDate_begin,
			@Param(value="endDate_end")String endDate_end
			);
}
